import axios from "../api"; // 导入接口配置
// 查询站台详情 GetStationConfiguration 见A2

/**
 * 获取工作站列表
 * @param params
 * @returns
 */
export const GetAllStationInfo = async (params: any) => {
  return await axios.post("/api/WorkStationSetup/GetAllStationInfo", params);
};

/**
 * 获取产品名称列表
 * @param params
 * @returns
 */
export const GetProductNameList = async (params: any) => {
  return await axios.post("/api/ProduceInfomation/GetProductNameList", params);
};

/**
 * 获取产品SN码列表
 * @param params
 * @returns
 */
export const GetProductSNList = async (params: any) => {
  return await axios.post("/api/ProduceInfomation/GetProductSNList", params);
};

/**
 * B1页面数据绑定
 * @param params
 * @returns
 */
export const PageB1DataBind = async (params: any) => {
  return await axios.post("/api/TypeBPage/PageB1DataBind", params);
};

/**
 * 获取B1绑定数据
 * @param params
 * @returns
 */
export const GetPageB1Data = async (params: any) => {
  return await axios.post("/api/TypeBPage/GetPageB1Data", params);
};

/**
 * 获取A2名称列表
 * @param params
 * @returns
 */
export const GetPageA2Name = async (params: any) => {
  return await axios.post("/api/WorkStationSetup/GetPageA2Name", params);
};
